package com.xydtech.common.constant;

/**
 * 创建时间：2022/1/26 9:25
 * 项目名称：xydtech
 *
 * @author JHON
 * @version 1.0
 * @since JDK 1.8.0_201
 * 文件名称：LoanConstants
 * 类说明：贷款账务常量信息
 */

public class LoanConstants {
    /**
     * 授信方式1-非循环 2-循环
     */
    public static final String CREDIT_MODE_2 = "2";

    /**
     * 贷款状态  01: 正常
     */
    public static final String LOAN_STAT_01 = "01";

    /**
     * 贷款状态 02: 展期
     */
    public static final String LOAN_STAT_02 = "02";

    /**
     * 贷款状态  03: 销户(结清)
     */
    public static final String LOAN_STAT_03 = "03";

    /**
     * 贷款状态 04: 逾期
     */
    public static final String LOAN_STAT_04 = "04";

    /**
     * 贷款状态 05: 呆滞
     */
    public static final String LOAN_STAT_05 = "05";

    /**
     * 贷款状态 06: 呆账
     */
    public static final String LOAN_STAT_06 = "06";

    /**
     * 贷款状态  07: 核销
     */
    public static final String LOAN_STAT_07 = "07";


    /**
     * 账户形态01: 正常本金
     */
    public static final String ACCT_STAT_01 = "01";

    /**
     * 账户形态02: 逾期本金
     */
    public static final String ACCT_STAT_02 = "02";

    /**
     * 账户形态03: 呆滞本金
     */
    public static final String ACCT_STAT_03 = "03";

    /**
     * 账户形态04: 呆账本金
     */
    public static final String ACCT_STAT_04 = "04";

    /**
     * 账户形态10: 表内当期
     */
    public static final String ACCT_STAT_10 = "10";

    /**
     * 账户形态11: 表内应收
     */
    public static final String ACCT_STAT_11 = "11";

    /**
     * 账户形态20: 表外当期
     */
    public static final String ACCT_STAT_20 = "20";

    /**
     * 账户形态21: 表外应收
     */
    public static final String ACCT_STAT_21 = "21";

    /**
     * 账户形态41: 核销本金
     */
    public static final String ACCT_STAT_41 = "41";

    /**
     * 账户形态42: 核销利息
     */
    public static final String ACCT_STAT_42 = "42";

    /**
     * 账户形态51: 表内复利
     */
    public static final String ACCT_STAT_51 = "51";

    /**
     * 账户形态52: 表外复利/复利(按揭)
     */
    public static final String ACCT_STAT_52 = "52";

    /**
     * 账户形态53: 当期罚息(按揭)
     */
    public static final String ACCT_STAT_53 = "53";

    /**
     * 账户形态55: 违约金
     */
    public static final String ACCT_STAT_55 = "55";

    /**
     * 账户形态58: 账户管理费
     */
    public static final String ACCT_STAT_58 = "58";

    /**
     * 账户形态61: 法人透支应收
     */
    public static final String ACCT_STAT_61 = "61";

    /**
     * 账户形态90: 表内已计提利息
     */
    public static final String ACCT_STAT_90 = "90";

    /**
     * 账户形态91: 表外已计提利息
     */
    public static final String ACCT_STAT_91 = "91";

    /**
     * 授信对象1-个人
     */
    public static final String CREDIT_TARGET_P = "1";

    /**
     * 授信对象2-企业
     */
    public static final String CREDIT_TARGET_E = "2";

    /**
     * 帐别001-个人
     */
    public static final String ACC_TYPE_P = "001";

    /**
     * 帐别002-企业
     */
    public static final String ACC_TYPE_E = "002";

    /**
     * 动态计息控制标志0-停息
     */
    public static final String RATE_FLAG_DISABLE = "0";

    /**
     * 动态计息控制标志1-计息
     */
    public static final String RATE_FLAG_ENABLE = "1";

    /**
     * 利率类型 D-日利率
     */
    public static final String INTEREST_TYPE_D = "D";

    /**
     * 利率类型 M-月利率
     */
    public static final String INTEREST_TYPE_M = "M";

    /**
     * 利率类型 Y-年利率
     */
    public static final String INTEREST_TYPE_Y = "Y";

    /**
     * 还款方式 1-等本等息
     */
    public static final String REPAY_WAY_1 = "1";

    /**
     * 还款方式 2-等额本息
     */
    public static final String REPAY_WAY_2 = "2";

    /**
     * 还款方式 3-等额本金
     */
    public static final String REPAY_WAY_3 = "3";

    /**
     * 还款方式 4-按月付息到期还本
     */
    public static final String REPAY_WAY_4 = "4";

    /**
     * 还款方式 5-随借随还
     */
    public static final String REPAY_WAY_5 = "5";

    /**
     * 按月付息结息方式1-固定结息日
     */
    public static final String RATE_WAY_1 = "1";

    /**
     * 按月付息结息方式2-对月对日
     */
    public static final String RATE_WAY_2 = "2";

    /**
     * 用信状态  0-未放款 2-已放款 3-结清 4-逾期
     */
    public static final String USE_CREDIT_STS_2 = "2";

    /**
     * 账务状态 0-关机
     */
    public static final String SYS_CTRL_STS_C = "0";

    /**
     * 账务状态 1-日间
     */
    public static final String SYS_CTRL_STS_O = "1";

    /**
     * 账务状态 2-日结
     */
    public static final String SYS_CTRL_STS_E = "2";

    /**
     * 还款类型 1-正常还款
     */
    public static final String REPAY_TYPE_1 = "1";

    /**
     * 还款类型2-提前结清
     */
    public static final String REPAY_TYPE_2 = "2";

    /**
     * 还款类型 3-提前部分还款
     */
    public static final String REPAY_TYPE_3 = "3";


    /**
     * 期限类型Y:年 M:月D:日
     */
    public static final String PERIOD_UNIT_Y = "Y";

    /**
     * 期限类型Y:年 M:月D:日
     */
    public static final String PERIOD_UNIT_M = "M";

    /**
     * 期限类型Y:年 M:月D:日
     */
    public static final String PERIOD_UNIT_D = "D";

    /**
     * 提前还款处理方式 1-减少月供
     */
    public static final String OPERATE_TYPE_1 = "1";

    /**
     * 提前还款处理方式2-缩短期限
     */
    public static final String OPERATE_TYPE_2 = "2";

    /**
     * 贷款类型 1-新增贷款
     */
    public static final String LOAN_TYPE_1 = "1";

    /**
     * 贷款类型  2-展期贷款
     */
    public static final String LOAN_TYPE_2 = "2";

}